[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
rtparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer

[NTG-context] Re: xml: matches always child of other element

2023-08-10 Thread Hans Hagen via ntg-context
Hi Denis, Ok, after a bit of more testing I can now come up with another example. The version using startstop works, but with the normal command, I'm always getting back the content of the first element. I thought it might be an expansion issue, but \expanded and also expansion=yes

[NTG-context] Re: xml: matches always child of other element

2023-07-27 Thread denis.maier
Ok, after a bit of more testing I can now come up with another example. The version using startstop works, but with the normal command, I'm always getting back the content of the first element. I thought it might be an expansion issue, but \expanded and also expansion=yes or expansion=xml

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Sorry everyone, ignore me, it doesn't work. (Got my test files mixed up - aargh!) > On 21 Mar 2023, at 11:06, Bruce Horrocks via ntg-context > wrote: > > > Thanks Julian - I tried a startstop environment originally but it didn't work. > > The answer turns out to be

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Thanks Julian - I tried a startstop environment originally but it didn't work. The answer turns out to be trivial - just needed to use \long\def for \stoptabulate so the following appears to work: \def\startMyExample{\starttabulate[|r|c|l|p|]} \long\def\stopMyExample{\stoptabulate} %% long

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread śrīrāma via ntg-context
On Sunday, February 6, 2022 3:50:21 PM IST Wolfgang Schuster via ntg-context wrote: > The following two font settings are wrong, you're passing the name of a > typescript for the third argument while \definefontfamily expects the > family name of a font. > […] > ConTeXt already provides a

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
Michael Urban via ntg-context schrieb am 05.02.2022 um 20:28: I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread śrīrāma via ntg-context
On Sunday, February 6, 2022 12:58:06 AM IST Michael Urban via ntg-context wrote: > Do I need a newer version of ConTeXt, or am I doing something wrong? > Fonts in ConTeXt are always perilous, alas. For me, anyway. (pre)loading the typescripts 'fixes' the issue. \usebodyfont[termes] See

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf } text. If they are not there, the italic an

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-14 Thread Denis Maier via ntg-context
efore={\righttoleft}] > > > > > > > > > > > > But maybe there’s a better way. Any hints? > > > > > You switch directions when we're still in vertical mode, so you need: > > > > > > > > > > \startblockquote &

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-14 Thread Hans Hagen via ntg-context
le this fixes the inverted margins issue, this keeps the whole paragraph in LTR-mode. The expected result (created with rtlblockquote) would be this: So, the question remains: is a dedicated startstop-pair to achieve this (what’s the proper name of those anyway? In latex these are environments, but

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-14 Thread Denis Maier via ntg-context
image002.jpg@01D7F0D9.6EFC58C0] The expected result (created with rtlblockquote) would be this: [cid:image004.jpg@01D7F0D9.6EFC58C0] So, the question remains: is a dedicated startstop-pair to achieve this (what’s the proper name of those anyway? In latex these are environments, but that

Re: [NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
On 22/01/2021 23:39, Wolfgang Schuster wrote: No \do...empty (LMTX only): \tolerant\protected\def\startzzz#=%   {\hrule    \doifsomething{#1}{\bold{\strut#1}\blank}} \protected\def\stopzzz   {\blank[10mm]} \starttext \startzzz \input weisman \stopzzz \startzzz{Ward} \input ward

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
El vie, 22 de ene. de 2021 a la(s) 17:39, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 22.01.2021 um 23:14: > > How strange. I guess you don't have your modules installed. In such a > > case, you could install them from modules.contextgarden.net >

Re: [NTG-context] [startstop]

2021-01-22 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 22.01.2021 um 23:14: How strange. I guess you don't have your modules installed. In such a case, you could install them from modules.contextgarden.net and put content under texmf-modules so after mtxrun --generate and context

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
How strange. I guess you don't have your modules installed. In such a case, you could install them from modules.contextgarden.net and put content under texmf-modules so after mtxrun --generate and context --make examples work. Another possibility is to use \do...empty and such, but it feels odd

Re: [NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
unfortunately this does not work, 'annotation' is not found. But is it possible to give a start/stop definition user parameters? And if so, how? .F ___ If your question is of interest to others as well, please add

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
Like this? \usemodule[annotation] %Thanks for this module, Wolfgang \defineannotation[zzz] \define[2]\AnnotationCommand {\doifelse{\placeannotationtitle}{}{}{\hrule\bf\placeannotationtitle\par}#2\blank[10mm]} \setupannotation[zzz] [alternative=command, command=\AnnotationCommand, text=]

[NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
I'd like to create a start/stop command with a parameter \startzzz[a] one two three \stopzzz \startzzz[b] one two three \stopzzz How do i define/pass the tag parameter in the definition? This does not work (obviously) \definestartstop[zzz][ before={\hrule\bf tag\blank},

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-08 Thread Wolfgang Schuster
enable the ClassRoom mode ConTeXt encounters this line \definestartstop [Questions] which redefines the Questions environment which uses now the startstop-mechanism but the previously created environment buffer based environment no longer exists. The reason for this redefinition is to keep

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] [...] \definehighlight [BufferStyle] [style=smallitalic, color=blue] Use the highlight-environment or create a new startstop-environment to apply style

Re: [NTG-context] mailing list behaviour (was: Spurious newlines at beginning of startstop pair)

2019-11-29 Thread Marco Patzer
On Fri, 29 Nov 2019 12:10:46 +0100 Henning Hraban Ramm wrote: > The problem seems to be that traditional mailing lists like this just > don’t work with modern security standards. > > I didn’t check how secure NTG’s mail server is configured, but > changing subject and sender of every message is

Re: [NTG-context] mailing list behaviour (was: Spurious newlines at beginning of startstop pair)

2019-11-29 Thread Henning Hraban Ramm
> Am 2019-11-29 um 11:05 schrieb Denis Maier : > > Am 29.11.2019 um 10:38 schrieb Hans Hagen: >> Second: For some reasons I have not received your message. It wasn't in the >> Spam folder and I usually receive mails from the list. Any ideas? Are there >> some known problems? >> >> Your

Re: [NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-29 Thread Hans Hagen
On 11/29/2019 11:05 AM, Denis Maier wrote: Am 29.11.2019 um 10:38 schrieb Hans Hagen: Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Your mailbox host does some

Re: [NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-29 Thread Denis Maier
Am 29.11.2019 um 10:38 schrieb Hans Hagen: Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Your mailbox host does some strange address checking (we run a mail server

Re: [NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-29 Thread Hans Hagen
On 11/28/2019 11:26 PM, denis.maier.li...@mailbox.org wrote: Hans, thanks for your answer. But two questions: First: Am I right to assume that the important part is `\GetPar`. The rest is syntactic sugar to make to code more ConTeXt-like, right? what you do is something: \def\foo{something

[NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-28 Thread denis . maier . lists
Hans, thanks for your answer. But two questions: First: Am I right to assume that the important part is `\GetPar`. The rest is syntactic sugar to make to code more ConTeXt-like, right? Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive

Re: [NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Hans Hagen
On 11/27/2019 2:17 PM, Denis Maier wrote: Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]        

[NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Denis Maier
Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]         \startnarrower[left]%        

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
’s >> additional space introduced. How can I avoid that? > swap 'm > > \startnarrower > \startparagraph > \startsidebar > \input knuth > \stopsidebar > \stopparagraph > \stopnarrower Thank you, but I need the sidebar over several paragraphs. (And I wrapped narro

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Rik Kabel
of a author) for each use of the environment. I thought about adding a switch to change between buffer mode and normal start/stop commands which work like the startstop environment but it wasn’t worth the effort. Very well. It is what it is. The ability to set defaults goes a long way

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Wolfgang Schuster
buffer mode and normal start/stop commands which work like the startstop environment but it wasn’t worth the effort. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
typeset in a smaller type (via > \switchtobodyfont in a defined startstop). > > Now the author insists that their footnote numbers should have the same size > as in the body text. > Since the footnotes are mostly source annotations at the end, it makes some > sense. >

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Pablo Rodriguez
On 09/29/2017 01:34 PM, Henning Hraban Ramm wrote: > Ahoi, > > in my current book there are some quotations typeset in a smaller > type (via \switchtobodyfont in a defined startstop). > > Now the author insists that their footnote numbers should have the > same size as in t

[NTG-context] size of footnote numbers

2017-09-29 Thread Henning Hraban Ramm
Ahoi, in my current book there are some quotations typeset in a smaller type (via \switchtobodyfont in a defined startstop). Now the author insists that their footnote numbers should have the same size as in the body text. Since the footnotes are mostly source annotations at the end, it makes

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Andres Conrado
This works for me, is probably not what you want, but at leat it's consistent (it uses the interline of the main text). \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\tfxx}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \tfxx \input

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Alan Braslau
On Wed, 22 Mar 2017 20:38:01 +0100 "Mikael P. Sundqvist" wrote: > What am I doing wrong? Any ideas to solve it Add a \par: \input knuth\par Alan ___ If your question is of interest to others as

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
On Wed, Mar 22, 2017 at 8:38 PM, Mikael P. Sundqvist wrote: > Hi, > > with the latest standalone, the file below runs, but gives strange > results. Look at the interline space in the last paragraph (starting > with "But a system...") of the document. It is too big. Resulting pdf

[NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
Hi, with the latest standalone, the file below runs, but gives strange results. Look at the interline space in the last paragraph (starting with "But a system...") of the document. It is too big. Resulting pdf is attached. What am I doing wrong? Any ideas to solve it (i.e. to be able to define

[NTG-context] tagging a startstop

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد
to say, e.g. \definestartstop[TAG][tag=div] % or tag=construct etc. so that my startstop also generates tags in the xhtml. Is there already a way to do this? Thanks and Best Wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523

Re: [NTG-context] tagging a startstop

2015-03-28 Thread Wolfgang Schuster
with \dostarttagged etc but could not get it to work (too low-level for me I guess). What would be nice is to be able to say, e.g. \definestartstop[TAG][tag=div] % or tag=construct etc. so that my startstop also generates tags in the xhtml. Is there already a way to do this? Commands created

Re: [NTG-context] sections

2014-06-01 Thread Rik
\eTABLE \page \section[title={Fails with figures startstop}] \startplacefigure[location=right,reference={fig:2},title={Caption}] \externalfigure[cow.pdf][width=2cm] \stopplacefigure \input{tufte} \section[title={Fails

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Hans Hagen
. it's hard to come up with common names for characteristics for all those languages but at some point we can have a set predefined as default btw, startstop can inherit (now): \definestartstop [MetapostSnippet] [DefaultSnippet] etc so there is no need for setups

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Aditya Mahajan
printing. This is similar to how most editors choose color schemes. but at some point we can have a set predefined as default btw, startstop can inherit (now): \definestartstop [MetapostSnippet] [DefaultSnippet] etc so there is no need for setups Setups have an advantage that one

[NTG-context] Latest Notepad++ package for ConTeXt

2009-01-23 Thread Idris Samawi Hamid ادريس سماوي ح امد
some config settings in Application Data\Notepad++\plugins\config that used to be stored in eg Program Files\Notepad++\plugins\Config the startstop module has been moved to texmf-project. Most of its features are or soon will be made obsolete in mkiv. The run commands are now all linked

Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Alan Stone
and experimenting by users, and also updating when Hans changes things ;-) The startstop module is still included, though Hans has just added support for footnote etc environments so that part of the module can be commented out. For mkiv a new sectioning mechanism is on the way, and mkii users can

Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread abbg770
= Nearly everything above is easily configurable. I could not implement support for non-startstop folding with sectioning like \chapter etc. because that would mean compiling the scintilla lexer, something I'm not interested in doing. If anyone knows how to do lexer

[NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-21 Thread Idris Samawi Hamid ادريس سماوي ح امد
tweaking and experimenting by users, and also updating when Hans changes things ;-) The startstop module is still included, though Hans has just added support for footnote etc environments so that part of the module can be commented out. For mkiv a new sectioning mechanism is on the way, and mkii

[NTG-context] grouped sections and footnotes

2008-08-16 Thread Idris Samawi Hamid ادريس سماوي ح امد
Hi Hans, I am using a module -- non-distributed as far as I know -- created by Wolfgang. It provides grouped sectioning and footnotes: startstop-t.tex== \unprotect \def\se{se} \def\definegroupedsection[#1]% {\setvalue{\e!start#1}[##1]% {\getparameters[\se#1][\c

Re: [NTG-context] \noindent in startstop block is no t working on the text that follows the block

2008-02-08 Thread Bart Wise
Thanks Taco! On Friday February 8 2008, Taco Hoekwater wrote: Bart C. Wise wrote: I defined a startstop block. However, the text that follows the block I don't want to be indented. Code \definestartstop[Center][ before={\startalignment[center]}, after={\stopalignment

[NTG-context] \noindent in startstop block is not working on the text that follows the block

2008-02-07 Thread Bart C. Wise
I defined a startstop block. However, the text that follows the block I don't want to be indented. Code \definestartstop[Center][ before={\startalignment[center]}, after={\stopalignment\noindent} ] \starttext \startCenter This is some text! \stopCenter I don't want this paragraph

Re: [NTG-context] \noindent in startstop block is not working on the text that follows the block

2008-02-07 Thread Taco Hoekwater
Bart C. Wise wrote: I defined a startstop block. However, the text that follows the block I don't want to be indented. Code \definestartstop[Center][ before={\startalignment[center]}, after={\stopalignment\noindent} ] You want \noidentation (instead of \noindent). Best

[NTG-context] ConTeXt Support Package for Notepad++.

2007-08-12 Thread Idris Samawi Hamid
that is): Split lines, Join Lines, Text Direction RTL Text Direction LTR = Nearly everything above is easily configurable. I could not implement support for non-startstop folding with sectioning like \chapter etc. because that would mean compiling the scintilla lexer

[NTG-context] \definestartstop with arguments

2007-07-13 Thread Vyatcheslav Yatskovsky
\stopusecase or even \startusecase[Reminding password][User should be already logged on] % where the last argument is completely optional and is shown on an additional line % with prerequisite mark Bla-bla-bla \stopusecase My current startstop definition is \definestartstop[usecase][before

Re: [NTG-context] \definestartstop with arguments

2007-07-13 Thread Peter Rolf
AFAIK startstop doesn't support optional|additional arguments. But maybe I'm wrong or there is a better fitting macro somewhere in the deep of 'the base'. I simply dunno. Anyhow, this is what I would do in such a case \def\startFOO{\dodoubleempty\dostartFOO} \long\def\dostartFOO[#1][#2]#3\stopFOO

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-13 Thread Steffen Wolfrum
Am 10.08.2006 um 22:47 schrieb Aditya Mahajan: You can always define your own startstop. \definestartstop[italic][before={\bgroup \it},after={\egroup}] and then do \startitalic This is italic \stopitalic When a command takes an optional agrument, you can do use something like

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Aditya Mahajan
reading the code not easier. You can always define your own startstop. \definestartstop[italic][before={\bgroup \it},after={\egroup}] and then do \startitalic This is italic \stopitalic When a command takes an optional agrument, you can do use something like this \def\startfootnote

Re: [NTG-context] setupitemize confusion

2006-07-27 Thread Aditya Mahajan
\setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far

Re: [NTG-context] setupitemize confusion

2006-07-27 Thread Steffen Wolfrum
=12pt] \sym{\endash}\input tufte \stopitemize \setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte

Re: [NTG-context] setupitemize confusion

2006-07-27 Thread Renaud AUBIN
\startitemize[width=12pt] \sym{\endash}\input tufte \stopitemize \setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt

Re: [NTG-context] setupitemize confusion

2006-07-27 Thread Steffen Wolfrum
do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can use \item and \sym also

Re: [NTG-context] setupitemize confusion

2006-07-26 Thread Aditya Mahajan
the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] setupitemize confusion

2006-07-26 Thread Steffen Wolfrum
tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can

[NTG-context] Using metapost figures in context

2006-06-12 Thread Aditya Mahajan
Hi, Does there exist a startstop command (say startMPfigure) for managing figures drawn using MP such that 1. I can use \startMPfigure{label} .. \stopMPfigure and then use \useexternalMPfigure{label} to include the figure. 2. The figures are converted into pdf once. If the code inside

Re: [NTG-context] Using metapost figures in context

2006-06-12 Thread Hans Hagen
Aditya Mahajan wrote: Hi, Does there exist a startstop command (say startMPfigure) for managing figures drawn using MP such that 1. I can use \startMPfigure{label} .. \stopMPfigure and then use \useexternalMPfigure{label} to include the figure. grep for \startMPrun .. \stopMPrun

Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
. If I remove cygwin from the path (and use native windows' ruby) context works fine. I still have the old problem with metapost and windows' ruby. texexec --mptex does not work correctly. However, when I wrap the metapost examples in a \startstop MPpage in a tex file, they work fine. So, I have

Re: [NTG-context] Simple problem with quotation paragraph

2006-05-04 Thread Aditya Mahajan
last try was: \defineparagraphs[BookQuote][n=1,before={\indenting[never]\whitespace\startnarrower},after={\indenting[yes]\nowhitespace\stopnarrower}] \startstop narrower form a group, so \indenting[yes] and \nowhitespace have no effect. You should change the order of those with stopnarrow

Re: [NTG-context] Myway on using mathalign

2006-04-05 Thread Aditya Mahajan
= - \vec x \NR \NC \widehat t\NC= t\NR \stopgroup \quad \text{resp} \quad \startgroup \NC \widehat{\vec{x}} \NC= \vec x \NR \NC \widehat t\NC= -t \NR \stopgroup \stopformula There is also startstop cases, but that does not give the correct

Re: [NTG-context] math align

2006-01-15 Thread Aditya Mahajan
be able to define \startstop split such that \placeformula \startformula \startsplit a = b \\ = c \stopsplit \stopformula comes out as a = b = c (1) But, my attempts to define such a startstop did not work. Can you suggest something? Thanks, Aditya -- Aditya Mahajan, EECS

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
+ e At least this should be possible with \wall and \return (using the nath module), like this: #v+ a \wall = b \\ = c \wall + d \\ + e \return\return #v- Unfortunately, if I use nath, I can not use underbrace inside \startstop align of nath. See a previous post of mine with the subject

[NTG-context] Re: Collecting command arguments in a startstop environment

2004-08-02 Thread Patrick Gundlach
[...] Anyhow, I'm finding myself wanting to do this in ConTeXt, with of course replacing \newenvironment with \definestartstop. I didn't want to fiddle with \definestartstop, but here is a quick hack: -- \long\def\foo#1{ Hello #1!}

Re: [NTG-context] Re: Collecting command arguments in a startstop environment

2004-08-02 Thread Brooks Moses
At 01:37 AM 8/2/2004, you wrote: Anyhow, I'm finding myself wanting to do this in ConTeXt, with of course replacing \newenvironment with \definestartstop. I didn't want to fiddle with \definestartstop, but here is a quick hack: -- \long\def\foo#1{

Re: [NTG-context] Collecting command arguments in a startstop environment

2004-08-02 Thread Brooks Moses
To answer my own question: At 10:39 PM 8/1/2004, I wrote: There's a nice little problem that arises in LaTeX, of wanting to write a bit of code like the following, to define an environment that passes the contents of the environment to a command as an argument: \newcommand{\foo}[1]{...}

[NTG-context] Collecting command arguments in a startstop environment

2004-08-01 Thread Brooks Moses
There's a nice little problem that arises in LaTeX, of wanting to write a bit of code like the following, to define an environment that passes the contents of the environment to a command as an argument: \newcommand{\foo}[1]{...} \newenvironment{fooenv}{% \foo\bgroup }{% \egroup